package tech.wowo.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author: ShanYuqing
 * @Version: v1.0
 */
@Data
public class VoteActivity {
    private Integer id;
    private String votename;
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date votestart;
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date voteend;
    private Integer votenum;
    private Integer votetype;
    private String voteinfo;
    private Integer votetotal;
    private String voteImg;

}
